package com.ccys.db.entity;

import com.ccys.db.rely.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.math.BigDecimal;
import javax.persistence.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
* Created by Mybatis Generator on 2023/12/27
*/
@Data
@ApiModel("问诊所有相关的package")
@Table(name = "tbl_booking_package")
@NoArgsConstructor
@AllArgsConstructor
public class TblBookingPackage extends BaseEntity {
    @Column(name = "booking_id")
    private String bookingId;

    @Column(name = "package_id")
    private String packageId;

    private BigDecimal price;

    private Integer quantity;

    /**
     * Medication/Service
     */
    @ApiModelProperty("Medication/Service")
    private String type;

    /**
     * 0:none selected 1:selected 2:paid 3:deliver
     */
    @ApiModelProperty("0:none selected 1:selected 2:paid 3:deliver")
    private Integer status;

    private Integer show;

    /**
     * 复购的booking_id
     */
    @Column(name = "booking_addition_id")
    @ApiModelProperty("复购的booking_id")
    private String bookingAdditionId;

    /**
     * 0:in-clinic 1:homebased
     */
    @Column(name = "service_type")
    @ApiModelProperty("0:in-clinic 1:homebased  ")
    private Integer serviceType;

    @Column(name = "in_exclusion_list")
    private Integer inExclusionList;

    private Integer selected;

    @Column(name = "home_based_fee")
    private BigDecimal homeBasedFee;

    /**
     * 医生端填写的时间
     */
    @Column(name = "test_period")
    @ApiModelProperty("医生端填写的时间")
    private String testPeriod;

    /**
     * 医生端填写的时间单位
     */
    @Column(name = "test_period_unit")
    @ApiModelProperty("医生端填写的时间单位")
    private String testPeriodUnit;

    @Column(name = "temp_index")
    private Integer tempIndex;
}